package org.arnetminer.personalized.vo;

import java.util.Date;
import java.util.List;

import org.arnetminer.personalized.util.Global;

public class Event {
	private long id;
	private String postDate;
	private EventType type;
	private long eventId;
	private long subId;
	private Subject subject;
	private List<Notification> notifications;
	
	public Event() {
		this.postDate = Global.FORMATTER.format(new Date());
	}
	
	public Event(EventType type, long subId, long eventId) {
		this.type = type;
		this.subId = subId;
		this.eventId = eventId;
		this.postDate = Global.FORMATTER.format(new Date());
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getPostDate() {
		return postDate;
	}

	public void setPostDate(String postDate) {
		this.postDate = postDate;
	}

	public EventType getType() {
		return type;
	}

	public void setType(EventType type) {
		this.type = type;
	}

	public long getSubId() {
		return subId;
	}

	public void setSubId(long subId) {
		this.subId = subId;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public long getEventId() {
		return eventId;
	}

	public void setEventId(long eventId) {
		this.eventId = eventId;
	}

	public List<Notification> getNotifications() {
		return notifications;
	}

	public void setNotifications(List<Notification> notifications) {
		this.notifications = notifications;
	}	
	
	
}
